#include "stdio.h"
#include "stdlib.h"
#include "syscall.h"

int main()
{
    int pid,rez;
	printf("Executam un alt program: join1.exe...\n");	
	char* argv[1] = {"../test/join1.exe"};	
	pid = exec("../test/halt.exe", 1, argv);
    join(pid,rez);
	printf("dupa exec si dupa join ....:  \n");

	//exit(0);
}
